<div class="search_top">
            <a ui-sref="county">
                <span  class="glyphicon glyphicon-chevron-left"></span>
            </a>
        <form class="search-form" target="_blank" id="search-form">
            <!--<span class="glyphicon glyphicon-search sea"></span>-->
            <select class="triggers" ng-model="Change" ng-change="change_x(this)">
                <option value="0">店铺</option>
                <option value="1">商品</option>
            </select>
            <input ng-change="search()" ng-model="content.name" type="text" placeholder="请输入商品名、商家名" class="search-text" />
            <span ng-click="cleansearch()" class="glyphicon glyphicon-remove-circle"></span>
        </form>
        <input type="submit" ng-click="searchbtn()" class="search-button" id="search-button" value="搜索"/>
    </div>
<div class="search_fixed" ng-hide="content.name.length>0">
    <div class="hot_search">
        <span class="search_way">热门搜索</span>
        <div class="hot_search_content">
        <i>黄焖鸡米饭</i><i>沙县小吃</i><i>麻辣烫</i><i>冒菜</i><i>烤鱼</i><i>烤肉</i>
        </div>
    </div>
    <div class="history_search">
        <span class="search_way">历史搜索</span>
        <ul class="history_search_content">
            <li ng-repeat="history in historys">
                <span class="glyphicon glyphicon-time"></span><i>{{history}}</i>
            </li>
            <!--<li>
                <span class="glyphicon glyphicon-time"></span><i>沙县小吃</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>麻辣烫</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>黄焖鸡米饭</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>沙县小吃</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>麻辣烫</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>黄焖鸡米饭</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>沙县小吃</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>麻辣烫</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>麻辣烫</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>黄焖鸡米饭</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>沙县小吃</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>麻辣烫</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>黄焖鸡米饭</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>沙县小吃</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>麻辣烫</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>黄焖鸡米饭</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>沙县小吃</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>麻辣烫</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>黄焖鸡米饭</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>沙县小吃</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>麻辣烫</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>黄焖鸡米饭</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>沙县小吃</i>
            </li>
            <li>
                <span class="glyphicon glyphicon-time"></span><i>麻辣烫</i>
            </li>-->
            <li class="clean_history" ng-show="historys.length>0" ng-click="cleanhis()">
                <span class="glyphicon glyphicon-trash"></span><i>清除历史记录</i>
            </li>
        </ul>
    </div>
</div>
<div class="search_result" ng-show="content.name.length>0">
    <div class="markets">
    <div class="market" ng-repeat="shop in shops| filter:content" ng-click="inner(shop.shopid)">
        <img class="tutu"  ng-src="{{shop.logo ? shop.logo : 'images/tu.png'}}"/>
        <span class="village">{{shop.name}}</span>
        <span class="glyphicon glyphicon-chevron-right"></span>
    </div>
    </div>
    <div class="products" ng-show="goodslist.length>0">
      <div class="product" ng-repeat="goods in goodslist" ng-click="inner(goods.shopid)">
        <div class="concrete">
             <span class="name">{{goods.shopname}}</span>
             <span class="glyphicon glyphicon-chevron-right"></span>
        </div>
        <div class="second">
             <img class="caicai" ng-src="{{goods.pic ? goods.pic : 'images/goods_luobo.png'}}">
              <span class="cainame">{{goods.name}}</span>
            <span class="price">¥{{goods.price}}元/{{good.unit}}</span>
        </div>
    </div>
</div>